package com.ecr.hub.database.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ecr.hub.model.destination.Destination;
import com.ecr.hub.model.destination.DestinationRailTranscoder;

public interface IDaoDestination {

	public List<Destination> getAllList() throws DataAccessException;

	public Destination getDestinationById(int id) throws DataAccessException;

	public int create(Destination destination) throws DataAccessException;

	public void update(Destination destination) throws DataAccessException;

	public void delete(Destination destination) throws DataAccessException;

	public List<DestinationRailTranscoder> getListDestinationsRail()
			throws DataAccessException;
}
